package com.cn.chaomeng.model;

public class User {
    private Integer id;

    private String openid;

    private String headimgurl;

    private Integer sex;

    private String city;

    private String username;

    private String phone;

    private String nike;

    private String pwd;

    private String member;

    private String createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public String getHeadimgurl() {
        return headimgurl;
    }

    public void setHeadimgurl(String headimgurl) {
        this.headimgurl = headimgurl == null ? null : headimgurl.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getNike() {
        return nike;
    }

    public void setNike(String nike) {
        this.nike = nike == null ? null : nike.trim();
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd == null ? null : pwd.trim();
    }

    public String getMember() {
        return member;
    }

    public void setMember(String member) {
        this.member = member == null ? null : member.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", openid=").append(openid);
        sb.append(", headimgurl=").append(headimgurl);
        sb.append(", sex=").append(sex);
        sb.append(", city=").append(city);
        sb.append(", username=").append(username);
        sb.append(", phone=").append(phone);
        sb.append(", nike=").append(nike);
        sb.append(", pwd=").append(pwd);
        sb.append(", member=").append(member);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}